import { MediaQueue } from "@/api/service/lcd-device/types";

export const showForm = ref(false);
const formObj: MediaQueue = {
  queueId: "",
  mediaId: "",
  resolutionId: "",
  goodsId: "",
  goodsName: "",
  barCode: "",
  retailPrice: null,
  memberPrice: null,
  salePrice: null,
  sendTime: "",
  doneTime: null,
  retryTimes: null,
  status: "",
  triggerType: "",
  deptId: "",
  nlast: 0
};
export const form = ref<MediaQueue>({
  ...formObj
});

export const resetForm = () => {
  form.value = {
    ...formObj
  };
};
